package com.fjw.pojo;


/**
 * @author fjw
 * @date 2019/11/1 15:04
 * @version 1.0
 */

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户的pojo类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {


    private static final long serialVersionUID = 7615540925393318204L;
    private Integer id;
    private String username;
    private String password;
    private String salt;
    private String gender;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date registTime;

    private String time1;
    private Integer clazId;
}
